updated use g_snprintf
authorHans Breuer <hans@breuer.org>
Fri, 15 Jun 2007 15:18:48 +0000 (15:18 +0000)
committerHans Breuer <hans@src.gnome.org>
Fri, 15 Jun 2007 15:18:48 +0000 (15:18 +0000)
2007-06-15  Hans Breuer  <hans@breuer.org>

* makefile.msc : updated
* io-jpeg.c : use g_snprintf

svn path=/trunk/; revision=18139

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-jpeg.c
gdk-pixbuf/makefile.msc

index 730a53379df4effdeb6ab14a1edf94a313890966..1ab9170c4b6e51b398cc75df668b9bd292dbb986 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-15  Hans Breuer  <hans@breuer.org>
+
+       * makefile.msc : updated
+       * io-jpeg.c : use g_snprintf
+
 2007-06-12  Behdad Esfahbod  <behdad@gnome.org>
 
        * io-pnm.c (explode_bitmap_into_buf): Fix out-of-bound access.
index b88675c98f01f64bdadfc6be2423c9535ef0561d..67327162bdcac4f247cb410922fef224cb4b0d40 100644 (file)
@@ -514,7 +514,7 @@ gdk_pixbuf__jpeg_image_load (FILE *f, GError **error)
 
        /* if orientation tag was found set an option to remember its value */
        if (is_otag) {
-               snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
+               g_snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
                gdk_pixbuf_set_option (pixbuf, "orientation", otag_str);
        }
 
@@ -923,7 +923,7 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
                
                        /* if orientation tag was found set an option to remember its value */
                        if (is_otag) {
-                               snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
+                               g_snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
                                gdk_pixbuf_set_option (context->pixbuf, "orientation", otag_str);
                        }
 
index e8dcefc30ba8db45785194562b9e2a2d934d8f67..668b44d88ec43f6de8c5745c78837b0ecd0582b9 100644 (file)
@@ -42,6 +42,7 @@ OBJECTS = \
        gdk-pixbuf-io.obj \
        gdk-pixbuf-loader.obj \
        gdk-pixbuf-scale.obj \
+       gdk-pixbuf-scaled-anim.obj \
        gdk-pixbuf-util.obj \
        gdk-pixbuf.obj \
        gdk-pixbuf-simple-anim.obj \
@@ -76,7 +77,7 @@ gdk-pixbuf-alias.h: gdk-pixbuf.symbols
 gdk_pixbuf.def: gdk-pixbuf.symbols makefile.msc
        echo EXPORTS > gdk_pixbuf.def
        cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES \
-#      -FI $(GLIB)\glib\gmacros.h \
+       -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF \
        gdk-pixbuf.symbols >> gdk_pixbuf.def
 
 gdk-pixbuf-aliasdef.c: gdk-pixbuf.symbols